
<form action="<?php echo U('Admin/Setting/Index/hotActivity')?>" id="hot-activity" method="post" class="_ajaxSubmit">
    <div class="col-xs-12 col-md-12 col-lg-12 padding-none lists">
        <input name="activity_ids" value="<?php echo $data['activity_ids']?>" type="text" autocomplete="off" class="form-control radius-none _data">

        <p style="margin-top: 10px; color: #999;">此处填写活动ID,多个活动使用英文半角逗号隔开,ID排在前面,则活动显示在前面。不设置则按照浏览量排序。</p>
    </div>
    <div class="col-xs-12 col-md-12 col-lg-12 lists text-right">
        <input type="submit" name="dosubmit" value="保存" class="btn btn-success radius-none">
        <input type="reset"  value="重置" class="btn btn-info radius-none">
    </div>
</form>
<script>
    //表单异步提交回掉
    function ajaxRequestCallback(result,id)
    {

        switch(id){

            case 'hot-activity':

                showMessage(result.msg,result.code,'','',2000);

                break;

        }

    }
</script>